package com.example.springboottest.student.service;

import com.example.springboottest.student.model.Student;
import org.springframework.data.domain.Page;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.util.List;

public interface StuFluxService {
    Flux<Student> doFindALl();

    Mono<Void> doDeleteById(String id);

    Mono<Student> doCreate(Student student);

    Mono<Student> doUpdate(Student student);

    Mono<Student> idoUpdate(Student student);

    Mono<Student> doFindById(String id);

//    Page<Student> doPage();
}
